<%--
  Created by IntelliJ IDEA.
  User: tang
  Date: 2022/5/27
  Time: 14:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>详细信息</title>
    <style>
        table {
            border: 1px solid plum;
            width: 1000px;
            margin: 10px auto;
            text-align: center;
            border-collapse: collapse;
        }

        tr {
            border: 1px solid plum;
            height: 50px;
            text-align: center;
        }

        th {
            border: 1px solid plum;
        }

        h2 {
            text-align: center;
        }
        a{
            text-decoration: none;
            color: black;
        }

    </style>
</head>
<body>
<h2>信息列表</h2>
<p>欢迎[${loginUser}]</p>
<form action="update1" method="post" enctype="multipart/form-data">
    <table>
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>生日</th>
            <th>性别</th>
            <th>职业</th>
            <th>住所</th>
            <th>电话</th>
            <th>头像</th>
        </tr>
        <%--    展示域中的数据--%>
        <tr>
            <td><input type="text" name="id" value="${Profile.id}" readonly></td>
            <th><input type="text" name="name" value="${Profile.name}"></th>
            <th><input type="text" name="birthday" value="${Profile.birthday}"></th>
            <th><input type="text" name="gender" value="${Profile.gender}"></th>
            <th><input type="text" name="career" value="${Profile.career}"></th>
            <th><input type="text" name="address" value="${Profile.address}"></th>
            <th><input type="text" name="mobile" value="${Profile.mobile}"></th>
            <th><input type="file" name="picture" value="${Profile.picture}"></th>
        </tr>
        <tr>
            <td><input type="submit" value="修改" >
                <button><a href="list">返回</a> </button>
            </td>
        </tr>
    </table>
</form>
</body>
</html>
